<template>
  <div class="right-top">
    <div class="icona1">
      <img :src="require(`../../../assets/images/generalDetection/`+icon)"/>
    </div>
    <span class="right-tag">{{ text }}</span>
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: "generalDetetiontop",
  props:[
      "icon",
      "text"
  ]
}
</script>

<style scoped lang="scss">
.right-top {
  height: 60px;
  font-size: 15px;
  display: flex;
  align-items: center;
  color: black;
  font-weight: bold;
  border-bottom: 1px solid #ccc;

  .icona1 {
    margin: 0 10px 0 22px;
  }
}
.ant-tabs-nav .ant-tabs-tab {
  font-size: 15px !important;
}
</style>